<?php
session_start();
ob_start();

include_once 'include/common.php';
$core = new core();
if ($core->CheckLogin ()) {
		$logout = $core->LogOut();
		if ($logout) {			
			header ( 'Location:login.php' );
		}else{
			header ( 'Location:zenOrderList.php' );
		}
} else {
	header ( 'Location:login.php' );
}